package com.jp.knowledge.my.activity;

import com.google.gson.JsonObject;
import com.jp.knowledge.http.HttpHelper;

/**
 * Created by 528787067@qq.com on 2017/6/13.
 */

public class IntegralBuyActivity extends VipBuyActivity {

    @Override
    protected void initTitleBar(){
        super.initTitleBar();
        topName.setText("充值知识币");
    }

    @Override
    protected void getData() {
        JsonObject param = new JsonObject();
        param.addProperty("type", 1);
        HttpHelper.getInstance(mContext).packageList(param, 0x01, this);
    }

    protected void openWeChatPay(int money){
        payLogic.pay(money,application.getUserData().getUuid(),"00000000",24,"充值知识币",1002,curVipGrade.getPackageId());
    }
}
